package com.pj.fantabestconsole.client.widget;

import com.extjs.gxt.ui.client.Registry;
import com.extjs.gxt.ui.client.util.IconHelper;
import com.extjs.gxt.ui.client.widget.ContentPanel;
import com.extjs.gxt.ui.client.widget.layout.FitLayout;
import com.pj.fantabestconsole.client.ConsoleRegistryKeys;
import com.pj.fantabestconsole.client.FantaBestConsoleConstants;

public class ImportMenu extends ContentPanel  {
	
	FantaBestConsoleConstants constants = Registry.get(ConsoleRegistryKeys.CONSTANTS);
	
	public ImportMenu() {
		initPanel();
	}
	
	private void initPanel()	{
		this.setLayout(new FitLayout());
		this.setHeading(constants.importData());
		this.setIcon(IconHelper.create("images/management_32.png",32,32));
		this.setBodyBorder(false);
	}
}
